package com.hcbd.tdwt.ui.xingyu.vo;


import com.hcbd.tdwt.util.AppDatabase;
import com.raizlabs.android.dbflow.annotation.Column;
import com.raizlabs.android.dbflow.annotation.PrimaryKey;
import com.raizlabs.android.dbflow.annotation.Table;
import com.raizlabs.android.dbflow.structure.BaseModel;

import java.io.Serializable;
//用户消息类
@Table(database = AppDatabase.class)
public class UserMessageVO extends BaseModel implements Serializable {
    //主键ID
    @PrimaryKey(autoincrement = true)
    public int id;
    //消息类型:语音,文本，图片
    @Column
    private int msgType;
    //IO类型(发出/收到)0:收 1:发
    @Column
    private int ioType;
    //发送状态
    @Column
    private int status;
    //发送者号码
    @Column
    private String sendNumber;
    //接收者号码
    @Column
    private String receiverNumber;
    //消息内容
    @Column
    private String content;
    //发送时间
    @Column
    private String sendTime;
    //经度
    @Column
    private String longitude;
    //纬度
    @Column
    private String latitude;
    //高程
    @Column
    private String altitude;
    //语音秒数
    @Column
    private int seconds;

    //是否阅读
    @Column
    private boolean isRead;
    /**
     * 图片唯一标志
     */
    @Column
    private String uniqueSerial;
    /**
     *图片大小
     */
    @Column
    private String picSize;

    /**
     *接收包数
     */
    @Column
    private String receivedPackets;
    /**
     * 已收到
     */
    @Column
    private String receiverSend;

    public int getMsgType() {
        return msgType;
    }

    public void setMsgType(int msgType) {
        this.msgType = msgType;
    }





    public String getSendNumber() {
        return sendNumber;
    }

    public void setSendNumber(String sendNumber) {
        this.sendNumber = sendNumber;
    }

    public String getReceiverNumber() {
        return receiverNumber;
    }

    public void setReceiverNumber(String receiverNumber) {
        this.receiverNumber = receiverNumber;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getSendTime() {
        return sendTime;
    }

    public void setSendTime(String sendTime) {
        this.sendTime = sendTime;
    }

    public String getLongitude() {
        return longitude;
    }

    public void setLongitude(String longitude) {
        this.longitude = longitude;
    }

    public String getLatitude() {
        return latitude;
    }

    public void setLatitude(String latitude) {
        this.latitude = latitude;
    }

    public String getAltitude() {
        return altitude;
    }

    public void setAltitude(String altitude) {
        this.altitude = altitude;
    }

    public int getSeconds() {
        return seconds;
    }

    public void setSeconds(int seconds) {
        this.seconds = seconds;
    }

    public int getIoType() {
        return ioType;
    }

    public void setIoType(int ioType) {
        this.ioType = ioType;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public boolean isRead() {
        return isRead;
    }

    public void setRead(boolean read) {
        isRead = read;
    }

    public String getReceiverSend() {
        return receiverSend;
    }

    public void setReceiverSend(String receiverSend) {
        this.receiverSend = receiverSend;
    }

    public String getUniqueSerial() {
        return uniqueSerial;
    }

    public void setUniqueSerial(String uniqueSerial) {
        this.uniqueSerial = uniqueSerial;
    }

    public String getPicSize() {
        return picSize;
    }

    public void setPicSize(String picSize) {
        this.picSize = picSize;
    }

    public String getReceivedPackets() {
        return receivedPackets;
    }

    public void setReceivedPackets(String receivedPackets) {
        this.receivedPackets = receivedPackets;
    }
}
